<!DOCTYPE html>
<html lang="en" class="no-js">
    <head>
        <meta charset="utf-8">
        <title>BBS注册</title>
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <meta name="description" content="">
        <meta name="author" content="">

        <!-- CSS -->
        <link rel='stylesheet' href='http://fonts.googleapis.com/css?family=PT+Sans:400,700'>
        <link rel="stylesheet" href="/static/login/css/reset.css">
        <link rel="stylesheet" href="/static/login/css/supersized.css">
        <link rel="stylesheet" href="/static/login/css/style.css">

        <!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
        <!--[if lt IE 9]>
            <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
        <![endif]-->

    </head>

    <body>
        <div class="page-container">
            <h1><span>请注册</span></h1>
            <form action="" method="post">
                 <input type="text" name="phone" class="username" placeholder="手机号" value="{{ phone }}">
                   <span>{{ error1 }}</span>
                <input type="number" name="code" class="username" placeholder="请输入手机验证码" >
              <!--   <input type="submit"  class="username" value=" 获取验证码" onclick="settime(this);">-->
                <button type="submit"> 获取验证码/注册</button>
                <div class="error"><span>+</span></div>
            </form>
                <span>{{ error2 }}</span>

            <div align="center">  </div>


<script type="text/javascript">

//倒计时
var countdown=60;
function settime(val) {
    if (countdown == 0) {
        val.removeAttribute("disabled");
        val.value="获取验证码";
        countdown = 60;
        return false;
    } else {
        val.setAttribute("disabled", true);
        val.value="重新发送(" + countdown + ")";
        countdown--;
    }
    setTimeout(function() {
        settime(val);
    },1000);
}
</script>
        </div>
        <div align="center">
            <p> </p>
            <p>Support By <a href="http://weibo.com/u/1797729085?wvr=5&lf=reg" target="_blank" title="吉明涛的主页">吉明涛</a>  </p></div>

        <!-- Javascript -->
        <script src="/static/login/js/jquery-1.8.2.min.js"></script>
        <script src="/static/login/js/supersized.3.2.7.min.js"></script>
        <script src="/static/login/js/supersized-init.js"></script>
        <script src="/static/login/js/scripts.js"></script>
    </body>
</html>

